-
Notifications
You must be signed in to change notification settings - Fork 4.6k
No need to explicitly delete the pre-existsing histogram for ROOT >= 6.38 #49319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49319/46683 |
|
A new Pull Request was created by @smuzaffar for master. It involves the following packages:
@arunhep, @atpathak, @cmsbuild, @perrotta can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test it should work for existsing root version of default IBs |
| } // Loop over all runs in original histogram | ||
|
|
||
| // Delete remaining old content and replace it with new one calculated from luminosities | ||
| #if ROOT_VERSION_CODE < ROOT_VERSION(6, 39, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the fix applied since root version 6.38.00?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @perrotta , yes it is applied for root 6.38.00 .
bfa0a8f to
c40a569
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49319/46686 |
|
please test |
|
+1 Size: This PR adds an extra 32KB to repository Comparison SummarySummary:
|
|
@cms-sw/alca-l2 , can you please review this change? |
@smuzaffar I am perfectly fine with this fix, |
|
+alca
|
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @mandrenguyen, @ftenchini (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
|
Hi @smuzaffar , the test still failed in CMSSW_16_0_ROOT6_X_2025-11-09-2300 that has this PR. I think we also shouldn't do |
|
@iarspider , do we have root >= 6.38 in root6 ibs? If not then test will keep on failing |
Fixes #49309
This change needs a newer ROOT 6.38
With latest root change root-project/root@17a49d1 , to avoid memory leak,
SetHistogramnow deletes pre-existing histogram. This change propose to callrunGraph->GetHistogram()->Delete();only for old versions of root.